package cn.wh.beans.factory.config;

import cn.wh.beans.factory.HierarchicalBeanFactory;

/**
 * @author: wh
 * @create: 2022-09-26 14:27
 * @description
 **/
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory,SingletonBeanRegistry {

    String SCOPE_SINGLETON="singleton";

    String SCOPE_PROTOTYPE="prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);


    /**
     * 销毁单例对象
     */
    void destroySingletons();




}
